#ifndef _HAL_HALL_H_
#define _HAL_HALL_H_

/*******************************************************************
 *
 * Copyright (C), 2021-2022, Letstrong, All rights reserved.
 *
 * Author      : 
 * Create Time : 2020-12-14
 * Version     : v0.1
 * Description : 
 *******************************************************************/
 
/*----------------------------Head file----------------------------*/
#include "gpio.h"
#include "user_config.h"

/*----------------------------macro file---------------------------*/

/*----------------------------type define--------------------------*/
typedef void (*hal_hall_evt_cb_t)(uint8_t pin, bool active);

/*----------------------------var define---------------------------*/

/*-------------------------func declaration------------------------*/
extern void hal_hall_hw_init(hal_hall_evt_cb_t cb);
extern void hal_hall_hw_deinit(void);

/*-----------------------------------------------------------------*/

#endif
